package com.woniuxy.sale.entity.dto;

import com.woniuxy.sale.entity.SaleOrderItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 选货单总表;
 * </p>
 *
 * @author lio
 * @since 2023-09-07
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain=true)
public class SalePackDTO implements Serializable {

    /**
     * 选货单总表id
     */
    private Integer id;

    /**
     * 选货单单号
     */
    private String sno;

    /**
     * 仓库
     */
    private Integer depotId;

    /**
     * 制单人
     */
    private String creator;

    /**
     * 客户
     */
    private String customer;

    /**
     * 制单时间
     */
    private String createTime;

    /**
     * 总价
     */
    private BigDecimal totalPrice;

    /**
     * 状态
     */
    private String state;


    private List<SaleOrderItemDTO> orderItems;
}
